<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<!DOCTYPE html>
<html lang="zh-CN">
<head>

  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  
</head>

<body>

  <%@ include file="/WEB-INF/include/header.jsp"%>
  <%@ include file="/WEB-INF/include/submenu.jsp"%>

  <div class="container-fluid umu-container has-umu-sidemenu">
    <div class="umu-breadcrumb">
      <div class="breadcrumb">评估问卷-${projectPhase.project.name}-第<c:out value="${projectPhase.phase}"/>期</h4>
    </div>
    <div class="panel-default beast-panel beast-panel-layout">

      <div class="panel-body">

        <div class="col-xs-12 beast-panel-layout-right">

    		<div class="ms-content-layout">
			<table class="table table-hover umu-table tab-pane table-striped">
		        <thead>
		          <tr>
					<th>学员姓名</th>
					<th>学员邮箱</th>
					<th class="text-center">问卷</th>
		          </tr>
		        </thead>
		        
		        <tbody>
			        <c:forEach items="${projectTrainees }" var ="projectTrainee"    varStatus="cStatus" >
						<tr>
						<td>${projectTrainee.trainee.name}</td>
						<td>${projectTrainee.trainee.email}</td>
						<td>
						<a href="${ctx.host}/project-results/${projectPhase.id}/${projectTrainee.trainee.id}/survey" data-target="#edit" data-toggle="modal">评估问卷</a>
						</td>
						</tr>		        
					 </c:forEach> 	
		        </tbody>
		        
		
		      </table>
		      <div class="ms-operation-group pull-right">
					<a href="#" data-toggle="" data-target="#search" class="btn btn-shadow-success btn-shadow umu-btn" onClick="history.go(-1);">
					  &nbsp;&nbsp;返回
					</a>
		        </div>
		    </div>           
        </div>

      </div>

    </div>

  </div>

  <%@ include file="/WEB-INF/include/footer.jsp"%>
  <%@ include file="/WEB-INF/include/script.jsp"%>
<d:resource root="${ctx.resource}/build" type="script" src="js/page/project/project-data-list.js" />
<script type="text/javascript">
        require([ 'page/project/project-data-list' ], function(page) {
            page.init();
        })
    </script>
</body>
</html>